//
//  YLTitleContentModel.m
//  YLFinanceService
//
//  Created by she1323 on 2017/9/14.
//  Copyright © 2017年 she1323. All rights reserved.
//

#import "YLTitleContentModel.h"
#import "YLGlobeHeader.h"
#import <UIKit/UIKit.h>
@implementation YLTitleContentModel

+ (instancetype)modelWithTitle:(NSString *)title content:(NSString *)content
{
    YLTitleContentModel *model = [[YLTitleContentModel alloc] init];
    model.titleFont = [UIFont systemFontOfSize:14.0f];
    model.titleColor = YLColor(94, 96, 107);
    model.title = title;
    model.content = content;
    model.contentColor = YLColor(94, 96, 107);
    model.hiddenLine = NO;
    return model;
}

+ (instancetype)modelWithTitle:(NSString *)title content:(NSString *)content contentColor:(UIColor *)contentColor
{
    YLTitleContentModel *model = [YLTitleContentModel modelWithTitle:title content:content];
    model.contentColor = contentColor;
    return model;
}

+ (instancetype)modelWithTitle:(NSString *)title content:(NSString *)content contentColor:(UIColor *)contentColor hiddenLine:(BOOL)hiddenLine
{
    YLTitleContentModel *model = [YLTitleContentModel modelWithTitle:title content:content contentColor:contentColor];
    model.hiddenLine = hiddenLine;
    return model;
}

@end
